GitHub - Get repository content
(5 actions, 9 KB)
0 Comment
https://docs.github.com/en/rest/repos/contents?apiVersion=2022-11-28#get-repository-content
1 DataJar > GetValueIntent »
3
keyPath
:
API Credentials.GitHub
2 Get Dictionary from
[Shortcut Input
as Dictionary
]
»
3 Get Contents of URL
https://api.github.com/repos/
[2 Dictionary
.owner
]
/
[2 Dictionary
.repo
]
/contents/
[2 Dictionary
.path
]
»
HTTPBodyType
:
File
ShowHeaders
:
true
HTTPHeaders
:
{ "Accept": "application/vnd.github.raw+json", "Authorization": "Bearer
[1 Value
as Dictionary.apiToken
]
", "X-GitHub-Api-Version": "2022-11-28" }
HTTPMethod
:
GET
4 Stop and Output
[3 Contents of URL]